/* AXE global namespace
 *
 */
    AXE = {}
/* End. AXE global namespace */


/* AXE.UI
 * All user inteface under this class name
 */
    AXE.UI = {}
    /* AXE.UI.focusInputBox
     * clear and save the default text in an input box
     * Params: [DOM Element] DOMInput
     */
        AXE.UI.focusInputBox = function (DOMInput, defaultValue) {
            if ( defaultValue == undefined || DOMInput.value == defaultValue ) {
				DOMInput.value = "";
				jQuery(DOMInput).css("color","#000");
				jQuery(DOMInput).css("font-style","normal");
				jQuery(DOMInput).css("font-weight","normal");
            }
        }
	
				
    /* AXE.UI.blurInputBox
     * Reverse to default text if input is empty
     * Params: [DOM Element] DOMInput
     */
        AXE.UI.blurInputBox = function (DOMInput, defaultValue) {
            if ( DOMInput.value == "" ) {
                DOMInput.value = defaultValue;
				jQuery(DOMInput).css("color","#999");
				jQuery(DOMInput).css("font-style","italic");
            }
        }
					
			
/* End. AXE.UI */


